The Name-Passing Calculus
نویسندگان
چکیده
Name-passing calculi are foundational models for mobile computing. Research into these models has produced a wealth of results ranging from relative expressiveness to programming pragmatics. The diversity of these results call for clarification and reorganization. This paper applies a model independent approach to the study of the namepassing calculi, leading to a uniform treatment and simplification. The technical tools and the results presented in the paper form the foundation for a theory of name-passing calculus. 1 Mobility in Practice and in Theory Mobile calculi feature the ability to pass around objects that contain channel names. Higher order CCS [91, 92, 93, 94] for instance, is a calculus with a certain degree of mobility. In a mobile calculus, a process that receives an object may well make use of the names which appear in the object to engage in further interactions. It is in this sense that the communication topology is dynamic. It was soon realized that the communication mechanism that restricts the contents of communications to the channel names gives rise to a simple yet versatile model that is more powerful than the process-passing calculi [79, 80, 82, 81]. This is the π-calculus of Milner, Parrow and Walker [60]. See [71] for a gentle introduction to the model and the history of the name-passing calculus and [87] for a broader coverage. A seemingly innocent design decision of the π-calculus is to admit a uniform treatment of the names. This decision is however not supported by the semantics of the mobile calculi. From a process term T one could construct the input prefix term a(x).T (1) and the localization term (x)T. (2) According to the definition of the π-calculus, the semantics of x which appears in (1) is far different from that of x in (2). In the former x is a name variable, or a dummy name, that can be instantiated by an arbitrary name when the prefix engages in an interaction. In the latter x is a local name that can never be confused with another name. The input prefix forces the unbound name x in T to be a name variable, whereas the localization operator forces the unbound name x in T to be a constant name. This apparent contradiction is behind all the semantic complications of the π-calculus. And nothing has been gained by these complications. In what follows we take a look at some of the issues caused by the confusion. To begin with, the standard operational semantics of the π-calculus has not been very smooth. An extremely useful command in both practice and theory is the two leg if-statement if φ then S else T . In mobile calculi this can be defined by introducing the conditional terms [x=y]T and [x,y]T . The semantics of these terms have been defined respectively by the match rule T λ −→ T ′ [x=x]T λ −→ T ′ (3) and the mismatch rule T λ −→ T ′ [x,y]T λ −→ T ′ x , y. (4)
منابع مشابه
A CPS encoding of name-passing in Higher-order mobile embedded resources
We present an encoding of the synchronous π-calculus in the calculus of HigherOrder Mobile Embedded Resources (Homer), a pure higher-order calculus with mobile processes in nested locations, defined as a simple, conservative extension of the core process-passing subset of Thomsen’s Plain CHOCS. We prove that our encoding is fully abstract with respect to barbed bisimulation and sound with respe...
متن کامل-calculus, internal mobility, and agent-passing calculi
The-calculus is a process algebra which originates from CCS and permits a natural modelling of mobility (i.e., dynamic reconngurations of the process linkage) using communication of names. Previous research has shown that the-calculus has much greater expressiveness than CCS, but also a much more complex mathematical theory. The primary goal of this work is to understand the reasons of this gap...
متن کاملA Congruence Format for Name-passing Calculi
We define and use a SOS-based framework to specify the transition systems of calculi with name-passing properties. This setting uses proof-theoretic tools to take care of some of the difficulties specific to name-binding and make them easier to handle in proofs. The contribution of this paper is the presentation of a format that ensures that open bisimilarity is a congruence for calculi specifi...
متن کاملOn the Expressiveness of Monadic Higher Order Safe Ambient Calculus
In this paper, we propose a monadic higher order safe ambient calculus. The expressiveness of this calculus is studied. We showed that polyadic higher order safe ambient calculus, first order safe ambient calculus with capability-passing, first order safe ambient calculus with name-passing, and polyadic π-calculus can all be encoded in monadic higher order ambient calculus. At last, we show tha...
متن کامل-calculus, Internal Mobility, and Agent-passing Calculi -calculus, Internal Mobility, and Agent-passing Calculi
The-calculus is a process algebra which originates from CCS and permits a natural modelling of mobility (i.e., dynamic reconngurations of the process linkage) using communication of names. Previous research has shown that the-calculus has much greater expres-siveness than CCS, but also a much more complex mathematical theory. The primary goal of this work is to understand the reasons of this ga...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1508.00093 شماره
صفحات -
تاریخ انتشار 2015